-
Notifications
You must be signed in to change notification settings - Fork 147
Add a periodic job for building and test musl #849
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
56b3b5a
to
9641c92
Compare
Signed-off-by: James Sturtevant <[email protected]>
Signed-off-by: James Sturtevant <[email protected]>
Signed-off-by: James Sturtevant <[email protected]>
9641c92
to
977ba74
Compare
f5daa4a
to
1adb011
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. A couple of thoughts:
Do we want to add a recipe to the Justfile similar to like-ci that also includes the nightly stuff.
Should we move some of the stuff we are doing on each PR to the nightly job (e.g. don't think we need both the Windowws Server versions on each PR)
Was it expected that the code checks got skipped? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice. Should we run tests too, in addition the cargo check?
The nice thing about the way this works now is that the
or can use https://just.systems/man/en/setting-variables-from-the-command-line.html
I was thinking we should do this, I didn't know if we wanted to do that here or as a separate PR.
Yes we weren't running the code checks for all platforms. When I extracted the logic out in the We can either:
|
Signed-off-by: James Sturtevant <[email protected]>
Signed-off-by: James Sturtevant <[email protected]>
this helps in ci when using the musl container which will end up with the wrong path Signed-off-by: James Sturtevant <[email protected]>
Signed-off-by: James Sturtevant <[email protected]>
Signed-off-by: James Sturtevant <[email protected]>
1adb011
to
112bbdc
Compare
Signed-off-by: James Sturtevant <[email protected]>
fixes: #606
This pull request refactors the CI workflows and
Justfile
to improve support for musl target. It refactors the rust build job so it can be re-used across multiple targets and other github workflows. This doesn't currently reduce the number of jobs we run on PR's but sets the foundation for being able to reduce the number of items run.When enabling musl I found a few items which will need follow up (will create issues):
Building tracy-client (used in one of the tests) didn't build on musl cleanly. I was able to get it build using cross but there was more extensive changes require to get cross working so disabled it for now, the rest of the other examples work.updated to use cross-rssignal: 11, SIGSEGV: invalid memory reference
when executing host functions that violate a seccomp rule. We've seen a few other issues around this code so to get basic coverage up I've disabled this for now and plan to revisit enabling this feature.test_gdb_end_to_end
#626. Not sure why this was easier to reproduce with musl builds but I ran into this race condition a couple times while testing.This does require installing some tools on the host VM's so I've marked this in draft until those tools are enabled.DoneYou can see an a run where I enabled this temporarily on Pull requests to make sure if runs: https://github.com/hyperlight-dev/hyperlight/actions/runs/17632377041